;(function($){
	$.extend($.jgrid,{
		extendsNavGridConfig:{
			refreshstate:'current'
		} ,
		extendsDefaults : {
			//jqGrid原生属性
			cellsubmit:'clientArray',
			cellEdit:false,
			datatype:'json',
			viewrecords:true,
			mtype:'POST',
			prmNames:{sort:'sidx',order:'sord'},
			rowList:[10,50,100],
			url:App.ctx+'/common/query.do?method=findByQueryInit',
			rowNum:10,
			autowidth:true,
			rownumbers:true,
			rownumWidth:30,
			multiselect:true,
			multiselectWidth:30,
			multiboxonly:true,
			height:230,
			toppager:false,
			headertitles: true,
			footerrow : false,
			userDataOnFooter : false,
			altRows : false,
			enableResize:false,
			ajaxGridOptions : {
				timeout:180000
			},
			
			//扩展jqGrid后,内部定义的属性
			originalDatas:{},
			gridDatasStore:[],
			cmOriginalDataType:{},
			defaultFields:[],
			searchFields:[],
			customFields:[],
			saveDataScope:'modified',
			cancelDataScope:'selection',
			enabledLoad:true,
			subGridUrl:App.ctx+'/common/query.do?method=findByQueryInit',
			selectRowOpenEditWindow:true,
			dblClickRowOpenEditWindow:false,
			messageDialogCycleTime:3000
		},
		global : {
			newIdVal : 0
		}
	});
})(jQuery);